package com.vader.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @author kaivader
 */
public interface LoadBalance {

    /**
     * 获取服务集合
     *
     * @param serviceInstanceList
     * @return
     */
    ServiceInstance instances(List<ServiceInstance> serviceInstanceList);

}
